package com.zhentao.domain.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/*
 *
 * 收支项明细VO类
 *
 * */
@Data
public class IncomeAndPayItemVo implements Serializable {

    //    单据编号
    @ExcelProperty(value = "单据编号", index = 0)
    private String billNo;
    //    往来单位
    @ExcelProperty(value = "往来单位", index = 1)
    private String orgName;
    //    财务人员
    @ExcelProperty(value = "财务人员", index = 2)
    private String personName;
    //    操作员
    @ExcelProperty(value = "操作员", index = 3)
    private String nickname;
    //    账户信息
    @ExcelProperty(value = "账户信息", index = 4)
    private String accName;
    //    单据类型
    @ExcelProperty(value = "单据类型", index = 5)
    private String type;
    //    收支项目
    @ExcelProperty(value = "收支项目", index = 6)
    private String incPay;
    //    收入或支出
    private String incAndPay;
    //    收入
    @ExcelProperty(value = "收入", index = 7)
    private String income;
    //    支出
    @ExcelProperty(value = "支出", index = 8)
    private String pay;
    //    单据日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ExcelProperty(value = "单据日期", index = 9)
    private Date billDate;

    //    采购或销售编号
    @ExcelProperty(value = "采购或销售编号", index = 10)
    private String number;

    //    原欠款
    @ExcelProperty(value = "原欠款", index = 11)
    private String needDebt;
    //    收款
    @ExcelProperty(value = "收款", index = 12)
    private String rcv;
    //    付款
    @ExcelProperty(value = "付款", index = 13)
    private String make;

    //    备注
    @ExcelProperty(value = "备注", index = 14)
    private String remark;
}
